package main.resources.controller.command.forum;

import main.resources.controller.command.Command;
import main.resources.controller.dao.moodle.MdlForumDao;
import main.resources.exceptions.DaoException;
import main.resources.model.entity.moodle.MdlForum;

public class ForumEditCommand implements Command {

	private MdlForum forum;
	
	public ForumEditCommand(MdlForum forum) {
		this.forum = forum;
	}

	@Override
	public void execute() throws DaoException {
		MdlForumDao.getInstance().edit(forum);
	}

}
